package jmine.tec.rpc.server.representation.representers.collections;

import java.util.Map;

/**
 * Bean contendo dados para representação de um mapa.
 * 
 * @author lundberg
 */
public class MapRepresenterBean {

    private final Class<?> keyClass;

    private final Class<?> valueClass;

    private final Map<?, ?> objects;

    /**
     * Construtor
     * 
     * @param keyClass keyClass
     * @param valueClass valueClass
     * @param objects objects
     */
    public MapRepresenterBean(Class<?> keyClass, Class<?> valueClass, Map<?, ?> objects) {
        this.keyClass = keyClass;
        this.valueClass = valueClass;
        this.objects = objects;
    }

    /**
     * @return the keyClass
     */
    public Class<?> getKeyClass() {
        return this.keyClass;
    }

    /**
     * @return the valueClass
     */
    public Class<?> getValueClass() {
        return this.valueClass;
    }

    /**
     * @return the objects
     */
    public Map<?, ?> getObjects() {
        return this.objects;
    }
}
